package com.zj.guava.eventbus.requestAndResponse;

import com.google.common.eventbus.EventBus;

public class EventRequest<T> implements Request<T> {
    EventBus bus;
    T t;

    public EventRequest(T t) {
        this.t = t;
    }

    public EventBus getBus() {
        return bus;
    }

    public void setBus(EventBus bus) {
        this.bus = bus;
    }

    @Override
    public T getRequest() {
        return t;
    }

    public void setRequest(T t) {
        this.t = t;
    }
}
